package com.wxl.common.room.dao

import androidx.room.*
import com.wxl.common.room.entity.AuthorizeTermEntity

@Dao
interface AuthorizeTermDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insertAuthorizeTerm(vararg mAuthorizeTermEntity: AuthorizeTermEntity)

    @Delete
    fun deleteAuthorizeTerm(vararg mAuthorizeTermEntity:AuthorizeTermEntity)

    @Query("select * from authTerm")
    fun queryAuthorizeTerm() : List<AuthorizeTermEntity>
}